import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import Router from 'vue-router'

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);


// const routerPush = Router.prototype.push
// Router.prototype.push = function push(location) {
//     return routerPush.call(this, location).catch(error => error)
// }
Vue.config.productionTip = false
require("./mock")
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')